package options

type GRPCOptions struct {
	Addr string `json:"addr" mapstructure:"addr" yaml:"addr"`
	Key  string `json:"key"  mapstructure:"key" yaml:"key"`
	Cert string `json:"cert"  mapstructure:"cert" yaml:"cert"`
}

// NewGRPCOptions is for creating an unauthenticated, unauthorized, insecure port.
// No one should be using these anymore.
func NewGRPCOptions() *GRPCOptions {
	return &GRPCOptions{
		Addr: ":9090",
		Key:  "",
		Cert: "",
	}
}
